aboutsummaryrefslogtreecommitdiffstats
path: root/mpv-nowayland [disowned]/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-23 21:50:57 +0100
committerMattias Andrée <maandree@kth.se>2017-11-23 21:50:57 +0100
commit5f15becca30a1ab7557851230a7e31d00aab9d8e (patch)
tree57d8f1fbae0e95a55763b21a6697b0017619da76 /mpv-nowayland [disowned]/PKGBUILD
parentUpdate sha3sum (diff)
downloadaur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.gz
aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.bz2
aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.xz
Disown some packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mpv-nowayland [disowned]/PKGBUILD')
-rw-r--r--mpv-nowayland [disowned]/PKGBUILD60
1 files changed, 60 insertions, 0 deletions
diff --git a/mpv-nowayland [disowned]/PKGBUILD b/mpv-nowayland [disowned]/PKGBUILD
new file mode 100644
index 0000000..9fdaa26
--- /dev/null
+++ b/mpv-nowayland [disowned]/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+# Maintainer of the mpv package: Christian Hesse <mail@eworm.de>
+# Contributor to the mpv package: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor to the mpv package: Eivind Uggedal <eivind@uggedal.com>
+
+_pkgname=mpv
+pkgname=mpv-nowayland
+epoch=1
+pkgver=0.22.0
+pkgrel=1
+_waf_version=1.8.12
+pkgdesc='A free, open source, and cross-platform media player'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+ 'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' 'libxss'
+ 'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'libcaca'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav'
+ 'libxrandr' 'jack' 'smbclient' 'rubberband'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa' 'hardening-wrapper')
+optdepends=('youtube-dl: for video-sharing websites playback')
+options=('!emptydirs' '!buildflags')
+conflicts=("$_pkgname")
+provides=("$_pkgname=$pkgver")
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$_pkgname/archive/v$pkgver.tar.gz"
+ "http://www.freehackers.org/~tnagy/release/waf-${_waf_version}")
+sha256sums=('c0f9ac8f0e37a391d19007b333ef8787c2f45d75a0d4401c0098cde52c5082f6'
+ '01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b')
+
+prepare() {
+ cd ${_pkgname}-${pkgver}
+
+ install -m755 "${srcdir}"/waf-${_waf_version} waf
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}
+
+ ./waf configure --prefix=/usr \
+ --confdir=/etc/mpv \
+ --enable-cdda \
+ --enable-encoding \
+ --enable-libmpv-shared \
+ --enable-zsh-comp \
+ --disable-wayland \
+ --disable-gl-wayland
+
+ ./waf build
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+
+ ./waf install --destdir="$pkgdir"
+
+ install -m644 DOCS/{encoding.rst,tech-overview.txt} \
+ "$pkgdir"/usr/share/doc/mpv
+}